// 弹窗
// import { Notify } from 'vant'
import { Toast } from 'vant'
export const Mytitle = ({ type, message }) => {
  if (type === 'warning') {
    Toast({
      type: 'fail',
      message: message
    })
  } else if (type === 'success') {
    Toast({
      type: type,
      message: message
    })
  }
}
